package com.ls.fw.mvc.springmvc.test.vo;

import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

public class SysUserAccountVo implements Serializable {
    private Long id;

    private String name;

    private String password;

    private String num;

    private String oldName;

    private String salt;

    private Boolean deleteClass;

    private Boolean validClass;

    private String createUser;

    private Long createUserId;

    @JSONField(format="yyyy-MM-dd")
    private Date createDt;

    private Date createDtSt;

    private Date createDtEd;

    private String modUser;

    private Long modUserId;

    @JSONField(format="yyyy-MM-dd")
    private Date modDt;

    private Date modDtSt;

    private Date modDtEd;

    @JSONField(format="yyyy-MM-dd")
    private Date insertTimestrap;

    private Date insertTimestrapSt;

    private Date insertTimestrapEd;

    private String remark;

    private String loginDt;

    private String loginIp;

    private Integer loginTimes;

    private String mail;

    private String phone;

    private String field1;

    private String field2;

    private String field3;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num == null ? null : num.trim();
    }

    public String getOldName() {
        return oldName;
    }

    public void setOldName(String oldName) {
        this.oldName = oldName == null ? null : oldName.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Boolean getDeleteClass() {
        return deleteClass;
    }

    public void setDeleteClass(Boolean deleteClass) {
        this.deleteClass = deleteClass;
    }

    public Boolean getValidClass() {
        return validClass;
    }

    public void setValidClass(Boolean validClass) {
        this.validClass = validClass;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getCreateDtSt() {
        return createDtSt;
    }

    public void setCreateDtSt(Date createDtSt) {
        this.createDtSt = createDtSt;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getCreateDtEd() {
        return createDtEd;
    }

    public void setCreateDtEd(Date createDtEd) {
        this.createDtEd = createDtEd;
    }

    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser == null ? null : modUser.trim();
    }

    public Long getModUserId() {
        return modUserId;
    }

    public void setModUserId(Long modUserId) {
        this.modUserId = modUserId;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getModDt() {
        return modDt;
    }

    public void setModDt(Date modDt) {
        this.modDt = modDt;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getModDtSt() {
        return modDtSt;
    }

    public void setModDtSt(Date modDtSt) {
        this.modDtSt = modDtSt;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getModDtEd() {
        return modDtEd;
    }

    public void setModDtEd(Date modDtEd) {
        this.modDtEd = modDtEd;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getInsertTimestrap() {
        return insertTimestrap;
    }

    public void setInsertTimestrap(Date insertTimestrap) {
        this.insertTimestrap = insertTimestrap;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getInsertTimestrapSt() {
        return insertTimestrapSt;
    }

    public void setInsertTimestrapSt(Date insertTimestrapSt) {
        this.insertTimestrapSt = insertTimestrapSt;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    public Date getInsertTimestrapEd() {
        return insertTimestrapEd;
    }

    public void setInsertTimestrapEd(Date insertTimestrapEd) {
        this.insertTimestrapEd = insertTimestrapEd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getLoginDt() {
        return loginDt;
    }

    public void setLoginDt(String loginDt) {
        this.loginDt = loginDt == null ? null : loginDt.trim();
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public Integer getLoginTimes() {
        return loginTimes;
    }

    public void setLoginTimes(Integer loginTimes) {
        this.loginTimes = loginTimes;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail == null ? null : mail.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1 == null ? null : field1.trim();
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2 == null ? null : field2.trim();
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3 == null ? null : field3.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysUserAccountVo other = (SysUserAccountVo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
            && (this.getOldName() == null ? other.getOldName() == null : this.getOldName().equals(other.getOldName()))
            && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
            && (this.getDeleteClass() == null ? other.getDeleteClass() == null : this.getDeleteClass().equals(other.getDeleteClass()))
            && (this.getValidClass() == null ? other.getValidClass() == null : this.getValidClass().equals(other.getValidClass()))
            && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
            && (this.getCreateUserId() == null ? other.getCreateUserId() == null : this.getCreateUserId().equals(other.getCreateUserId()))
            && (this.getCreateDt() == null ? other.getCreateDt() == null : this.getCreateDt().equals(other.getCreateDt()))
            && (this.getModUser() == null ? other.getModUser() == null : this.getModUser().equals(other.getModUser()))
            && (this.getModUserId() == null ? other.getModUserId() == null : this.getModUserId().equals(other.getModUserId()))
            && (this.getModDt() == null ? other.getModDt() == null : this.getModDt().equals(other.getModDt()))
            && (this.getInsertTimestrap() == null ? other.getInsertTimestrap() == null : this.getInsertTimestrap().equals(other.getInsertTimestrap()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getLoginDt() == null ? other.getLoginDt() == null : this.getLoginDt().equals(other.getLoginDt()))
            && (this.getLoginIp() == null ? other.getLoginIp() == null : this.getLoginIp().equals(other.getLoginIp()))
            && (this.getLoginTimes() == null ? other.getLoginTimes() == null : this.getLoginTimes().equals(other.getLoginTimes()))
            && (this.getMail() == null ? other.getMail() == null : this.getMail().equals(other.getMail()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getField1() == null ? other.getField1() == null : this.getField1().equals(other.getField1()))
            && (this.getField2() == null ? other.getField2() == null : this.getField2().equals(other.getField2()))
            && (this.getField3() == null ? other.getField3() == null : this.getField3().equals(other.getField3()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
        result = prime * result + ((getOldName() == null) ? 0 : getOldName().hashCode());
        result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
        result = prime * result + ((getDeleteClass() == null) ? 0 : getDeleteClass().hashCode());
        result = prime * result + ((getValidClass() == null) ? 0 : getValidClass().hashCode());
        result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
        result = prime * result + ((getCreateUserId() == null) ? 0 : getCreateUserId().hashCode());
        result = prime * result + ((getCreateDt() == null) ? 0 : getCreateDt().hashCode());
        result = prime * result + ((getModUser() == null) ? 0 : getModUser().hashCode());
        result = prime * result + ((getModUserId() == null) ? 0 : getModUserId().hashCode());
        result = prime * result + ((getModDt() == null) ? 0 : getModDt().hashCode());
        result = prime * result + ((getInsertTimestrap() == null) ? 0 : getInsertTimestrap().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getLoginDt() == null) ? 0 : getLoginDt().hashCode());
        result = prime * result + ((getLoginIp() == null) ? 0 : getLoginIp().hashCode());
        result = prime * result + ((getLoginTimes() == null) ? 0 : getLoginTimes().hashCode());
        result = prime * result + ((getMail() == null) ? 0 : getMail().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getField1() == null) ? 0 : getField1().hashCode());
        result = prime * result + ((getField2() == null) ? 0 : getField2().hashCode());
        result = prime * result + ((getField3() == null) ? 0 : getField3().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", num=").append(num);
        sb.append(", oldName=").append(oldName);
        sb.append(", salt=").append(salt);
        sb.append(", deleteClass=").append(deleteClass);
        sb.append(", validClass=").append(validClass);
        sb.append(", createUser=").append(createUser);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", createDt=").append(createDt);
        sb.append(", createDtSt=").append(createDtSt);
        sb.append(", createDtEd=").append(createDtEd);
        sb.append(", modUser=").append(modUser);
        sb.append(", modUserId=").append(modUserId);
        sb.append(", modDt=").append(modDt);
        sb.append(", modDtSt=").append(modDtSt);
        sb.append(", modDtEd=").append(modDtEd);
        sb.append(", insertTimestrap=").append(insertTimestrap);
        sb.append(", insertTimestrapSt=").append(insertTimestrapSt);
        sb.append(", insertTimestrapEd=").append(insertTimestrapEd);
        sb.append(", remark=").append(remark);
        sb.append(", loginDt=").append(loginDt);
        sb.append(", loginIp=").append(loginIp);
        sb.append(", loginTimes=").append(loginTimes);
        sb.append(", mail=").append(mail);
        sb.append(", phone=").append(phone);
        sb.append(", field1=").append(field1);
        sb.append(", field2=").append(field2);
        sb.append(", field3=").append(field3);
        sb.append("]");
        return sb.toString();
    }
}